package com.d0311hm;

public class Testclass {

        public static void main(String[] args) {
            int num1=5;
            int num2=5;
            class InnerClass{
                public int add(){
                    return num1+num2;
                }
            };
            InnerClass in=new InnerClass();
            System.out.println(in.add());
        }

}

